import { Code, CreateDate, Entity, PrimaryKey, UpdateDate, Uuid } from "@sker/core";

@Entity({ name: 'jd_hash' })
export class JdHash {
    @PrimaryKey()
    id: string;

    @Code()
    type: string;

    @Uuid()
    resource_id: string;

    @Code()
    hash: string;

    @UpdateDate()
    update_date: Date;

    @CreateDate()
    create_date: Date;
}